package com.ldzy.pojo;

import java.util.List;

public class User {
    private int uid;
    private  String uname;
    private  int uage;
    private  Idcord idCard;
    private List<Orders>  ordersList;
    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public int getUage() {
        return uage;
    }

    public void setUage(int uage) {
        this.uage = uage;
    }

    public Idcord getIdCard() {
        return idCard;
    }

    public void setIdCard(Idcord idCard) {
        this.idCard = idCard;
    }

    public List<Orders> getOrdersList() {
        return ordersList;
    }

    public void setOrdersList(List<Orders> ordersList) {
        this.ordersList = ordersList;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", uname='" + uname + '\'' +
                ", uage=" + uage +
                ", idCard=" + idCard +
                ", ordersList=" + ordersList +
                '}';
    }
}
